package ru.housewife.form;

import java.util.List;

public class UsersTableFullBlockForm {

    protected UsersTableForm usersTable;

    private List<MonthWrapperForm> months;

    private int currentMonthIndex;

    public UsersTableFullBlockForm(UsersTableForm usersTable, List<MonthWrapperForm> months, int currentMonthIndex) {
        this.usersTable = usersTable;
        this.months = months;
        this.currentMonthIndex = currentMonthIndex;
    }

    public UsersTableForm getUsersTable() {
        return usersTable;
    }

    public List<MonthWrapperForm> getMonths() {
        return months;
    }

    public int getCurrentMonthIndex() {
        return currentMonthIndex;
    }

    @Override
    public String toString() {
        return "UsersTableFullBlockForm{" +
                "usersTable=" + usersTable.getName() +
                ", currentMonthIndex=" + currentMonthIndex +
                ", months=" + months +
                '}';
    }
}
